#ifndef SERVERWIN_H
#define SERVERWIN_H

#include <QObject>
#include "ui_server.h"

class ServerWin : public QDialog
{
    Q_OBJECT
public:
    explicit ServerWin(QDialog *parent = 0);
    void setIP(QString IP){sf.lineEdit->setText(IP);}
    QString getName(){return sf.lineEdit_2->text();}
    QString getPass(){return sf.lineEdit_3->text();}
    QString getPort(){return sf.lineEdit_4->text();}
private:
    Ui::serverform sf;

};

#endif // SERVERWIN_H
